package org.example.service;

import org.example.mapper.DeptMapper;
import org.example.pojo.Dept;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface DeptService {
    public List<Dept> findAll();

    void deleteById(Integer id);

    void save(Dept dept);

    Dept findById(Integer id);

    void update(Dept dept);
}
